package com.jqq.string_;

/**
 * @author 姬倩倩
 * @version 1.0
 */
public class StringExercise {
    public static void main(String[] args) {
        String a = "jqq";//创建a对象
        String b = "beautiful";//创建b对象
        //1.new 一个 StringBuilder()对象
        //2.调用append()加入"jqq"
        //3.调用append()加入"beautiful"
        //4.new一个String()对象 传入jqqbeautiful
        String c = a + b;
        System.out.println(c);
        int n1 = 2;
        int n2 = 2;
        exchange(n1,n2);
        System.out.println(n1);

    }
    public static void exchange(int n1, int n2){
        n1 = 1;
        n2 = 1;
    }
}
